package demoMod.invincibleOne.patches;

import com.evacipated.cardcrawl.modthespire.lib.ByRef;
import com.evacipated.cardcrawl.modthespire.lib.SpireInsertPatch;
import com.evacipated.cardcrawl.modthespire.lib.SpirePatch;
import com.evacipated.cardcrawl.modthespire.lib.SpirePrefixPatch;
import com.megacrit.cardcrawl.actions.common.DarkOrbEvokeAction;
import com.megacrit.cardcrawl.actions.defect.LightningOrbEvokeAction;
import com.megacrit.cardcrawl.actions.defect.LightningOrbPassiveAction;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import com.megacrit.cardcrawl.orbs.Dark;
import com.megacrit.cardcrawl.orbs.Lightning;
import com.megacrit.cardcrawl.vfx.combat.LightningOrbActivateEffect;
import demoMod.invincibleOne.actions.AutoPlayCardAction;

public class OrbPatch {
//    @SpirePatch(clz =
//            LightningOrbPassiveAction.class,
//            method = "update"
//    )
//    public static class LightningPassive{
//        @SpireInsertPatch(rloc = 38 - 34, localvars = {"abstractMonster"})
//        public static void Insert(LightningOrbPassiveAction _instance, @ByRef AbstractMonster[] abstractMonster) {
//            abstractMonster[0] = AutoPlayCardAction.getAutoPlayTarget();
//        }
//    }
//
//
//    @SpirePatch(clz =
//            LightningOrbEvokeAction.class,
//            method = "update"
//    )
//    public static class LightningActivate{
//        @SpireInsertPatch(rloc = 42 - 30, localvars = {"abstractMonster"})
//        public static void Insert(LightningOrbEvokeAction _instance, @ByRef AbstractMonster[] abstractMonster) {
//            abstractMonster[0] = AutoPlayCardAction.getAutoPlayTarget();
//        }
//    }
//
//    @SpirePatch(clz =
//            DarkOrbEvokeAction.class,
//            method = SpirePatch.CONSTRUCTOR
//    )
//    public static class DarkActivate{
//        @SpireInsertPatch(rloc = 33 - 22, localvars = {"weakestMonster"})
//        public static void Insert(LightningOrbEvokeAction _instance, @ByRef AbstractMonster[] weakestMonster) {
//            weakestMonster[0] = AutoPlayCardAction.getAutoPlayTarget();
//        }
//    }
}
